package com.heima.model.article.dtos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chenshan
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class CollectionBehaviorDto {
    /**
     * 文章id
     */
    private Long entryId;
    /**
     * 0收藏 1取消收藏
     */
    private Integer operation;
    /**
     * 发布时间
     */
    private Date publishedTime;
    /**
     * 0文章 1动态
     */
    private Integer type;

}
